<?php
echo $this->Html->script(array(
	'plugins/select/select2.min',
	'plugins/validationEngine/languages/jquery.validationEngine-en.js',
	'plugins/validationEngine/jquery.validationEngine.js'
		), array('inline' => false));
?>
<?php
echo $this->Form->create('Business', array(
	'action' => 'add','type' => 'file'));
?>
<div class="page-header">
	<div class="icon">
		<span class="ico-pen-2"></span>
	</div>
	<h1>
		<?php echo __('BUSINESS MANAGEMENT'); ?> 
		<small><?php echo __('add new business'); ?></small>
	</h1>
</div>
<div class="row-fluid">
	<?php echo $this->Session->flash(); ?>
</div>
<div class="row-fluid">

	<div class="span6">                

		<div class="block">
			<div class="head">                                
				<h2><?php echo __('Basic info'); ?></h2>                     
			</div>                                        
			<div class="data-fluid">

				<div class="row-form">
					<div class="span3"><?php echo __('Business name'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('name', array('type' => 'text','label'=>false,'div'=>false));
						?>  
					</div>
				</div>
				<div class="row-form">
					<div class="span3"><?php echo __('Nombre de cartes disponible'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('offer_number', array('type' => 'text','label'=>false,'div'=>false));
						?>  
					</div>
				</div>
				<div class="row-form">
					<div class="span3"><?php echo __('Picture'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('picture', array('type' => 'file','label'=>false,'div'=>false));
						?>  
					</div>
				</div>
				<div class="row-form">
					<div class="span3"><?php echo __('Description'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('description', array('type' => 'textarea','label'=>false,'div'=>false));
						?>  
					</div>
				</div>
				<div class="row-form">
					<div class="span3"><?php echo __('Value'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('value', array('type' => 'text','label'=>false,'div'=>false));
						?>  
					</div>
				</div>
			</div>
		</div>

	</div>

	<div class="span11">
		<div class="span6">
			<div class="span3">&nbsp;</div>
			<div class="span9">
				<div class="btn-group ctr-container">
					<button class="btn btn-large btn-info" type="reset"><?php echo __('Reset'); ?></button>
					<button class="btn btn-large btn ctr-save" type="submit"><?php echo __('Submit'); ?></button>
				</div>
			</div>
		</div>
	</div>
</div>
<?php echo $this->Form->end(); ?>